Put the reset at the right place, during the setup and prior to updating the map. Change-Id: I75e550ae9d8cc15081330b8857edc04c23947875