fixed deprecation message