fixed image_data bug