not sure if this fixes the nil style index problem, not even sure what
it means