fixed list<double> bug (issue #124)