fix assert raises