fix error image bug