attempt mutex race fix