Fixing context path issue for getCore