fixed cmd+msg chop bug