fix FFNN for heredity