Fix assert call