ParseInt-ed where I should have intval-ed