make sure the keyword works also when people have entered too many spaces