fix dirty worktree