fix twitter-image plugin undefined error