fix build nand
fix build tvin