remove redundant asserts