might also want to add the unit test that finds this bug