removed code from asserts