fixed a really dumb error in an assertion