fix merge - should not receive values from the query