tried to fix some NULL problems in Oracle number handling