fix exclude / --exclude bug