make ProjectLock reliable