cid and cmd must be strings for msg to be valid