fixed mutex an package self reference