1- fix release unreleased mutex function err

2- add mutex atom