fixes issue with parsing for Doubles