weaked/modified search controller to be used in mobile