added reset current map function