handle dictionary errors
handle t1 t2 specification