swap some assertions