fixed : bug with locked processes