Fixed mapgen related warnings