Use warning_msg instead of warning_report