fix tapaid bug