Fixed missing return_msg variable declaration