fix newly introduced bug