fixed UI of permissions