fix some deprecation messages