map: improve debug print