fix bug with path to config