Wrong function in config.c file