Fix problem with reload page.