lockd: bugfix