Resolved mutex dependency error