fix seed issue in configure. add spinner util.