fixed tornado deprecated call