fix removing of last tag in short messages