fixes #10, refresh page problem.