add base path in config