Fixed an issue where location change was not refreshing the content