remove needless assertion