corrected curved image problem