trying to fix map refresh bug part 3