fix index image bug