try to fix lock race