a bugfix in maps grid