fix bug in test that surfaced somehow
fix bug