bug fix for disappearing location