Fix in beta to M conversion