Fixing syntax error in text delivery mechanism