fixed index not reloading