fix apparent bug