fixed the mystery 2dsphere idnex bug