Fix name conflict for generated images;