Bugfix invalid pass of mutex to constructor instead of injection method