fix cannot show image bug