fix major bugs found in processing money and number values