fix deprecation failure_message