get proper map working