added check for image ID id not 0
merge