add code to avoid double using of replace and union action methods in the same adjusting block