fixed search error and design