fix permissionController