fixed special case with just one value