clean up the permissions resolutionn