added missing radix params to parseInt calls