Twitter: Error with replacing hashtags.