fix the base path, as env variables are not resolved