Merge box bug solving