added global lock for project build