fix search regression