fixed mutex exception risk