got rid of unmerged images