clearing after merging