correct a bug in the twitter login