fix rendering bug for permissions table