bug fix: string conversion to number failure