fixed config path handling