Added exception case to parseInt to default to 0