fix bug global lock