Correcting the format of search message