Correct the call to uname.
remove detach and lock.