fixed stupid assert that was wrong