read privs function stopped working, changed variable type