fix bug under Nt6.x