working helper for empty_msg