fixed the bug of getting path of configs