Fix check_config problems