Fixed bug with page var in cookies.