remove empty string from permission array