removed unused assert