added config for fann
fix method call