Update config.c

fix issues/44