fixed bug with layout of search