small issue in search controller