fixed assert error