Removed global from mutex