conditions deprecation warning resolved