made one call for two images
fix merge