wtf whitespace
check permissions on destroy