ta: fix wrong code