fixed index box input bug