fixed potential bug w/ permissions
fixed potential bug w/ permissions (take 2)