remove previous value of out. fix typo.