fix challenge pwd init bug