fixed skipped image bug