Fix permissionhandling problem at category 0

(main category)