fix _lock + dll