fixed command permission registration