check for old config and delete it