fix index form bug