Fix advance search
fix