fix ignore first image bug