Fixed errors in Map.cs