minor fixed to make test repeatable