fix: generate conf bug and update folder selection