fixed agi reduction formula
fixed number formatting issue