removed useless mutex
removed mutex function