add compatibility for deprecation elimination