some fixed of wrong index application