hack to make the main page reload