strip length of word when getting perms