fixed a bug in tagSentWithMT() when tag is null