fixed alock and mcs