fix bug in check_answer of T2