Add spaces between query word