fixed error with config-file