Fix perms having spaces in them