solve image output problem