bugfixes for the most retarded map conversion i have ever seen (thank englishman for the fix)