fixed bug in new config file implementation