add two assertions to find this issue in the future