fix map refresh