fix f*ckup with assertions