remove unused lock