fix sloppy assertions