remove merge and replace