fixed mutex shit