fixes page tracking bug