fixed assert compatibility issue