Fixed the permission add&remove command.