fixed custom search