fixing context resources location