Fixing bug on permission form