making sure phrase is not all spaces