clear an undefined variable notice for initial page loading