fixed search on space