fixed permissions display bug