CR changes: added radix to all parseInt() calls