avoid deprecation warnings in bless