commit before advance search change