fix small image bug