fix for blank permission array handling close #296