added new param to load fresh page as it was loading cached page and switch was not working