fixed error where group permissions wouldnt show the firs one