Make sure all input keywords are stripped, also replace tabs for spaces.