fixed error in image object data validation