Fix error
Add mutex implementation