search controller adjustment for frontend