fix logic error in previous change