fixed image_buffer