fix advance search