reset map before run, not after