remove old config check