Add detach to repo
fix