fixed issues with negative numbers and all single values