fix config.cpp