*fixing problem with message lock