fix ags