Remove the permission at the end