fixed bug with wrong dir name for config file