correct map build
bugfix