Fixed new afc functions
forgot "self." before afc