Fixed browser refresh issues.