Default Cant wipe data in twrp

Phone auto reboots when tryng to wipe data, cant install new rom, what to do? Q_Q

EDIT: nvm, for some reason fix permissions fixed this. idk why though.