fix assert failed