fix fill_image bug