cleared undefined variable error on non-node pages