fixed more than 1 word being entered