normalize deprecation messages