fix deprecation version