add debug for memory map