change the assert use way