fix bug with interpreting leading zeros as octal