preventing old AFC code from causing errors