fixed config path handling (again)