Clearing bugged permission method