FANN fix