scanning map is now plotted properly