function.h messup

double call core/config