Fix warning_message helper