tidy up msg detail act.