added bos.unlockSync()