Shouldn't you provide the radix argument? ex: `parseInt(id, 10)`