fix grid map indexing bug