fix bug of img