remove stuff from check_config