fixed bug in (commit) causing deadlock. (orelse) still bugged