handle t.co and various minor stuff