Fixing mutex