Fixed missing } and reference to msg instead of body