fixed a crash

removed a bad assert