Reload page bug fix