fix exclude bug