Try to solve issue #3. test_lock_7 failed