fix mistake that covered up a test error