fix $id for message header
Merge remote-tracking branch 'origin/master'