You should add the base in parseInt