better deprecation message