minor fix in permissions