fixed dm m converting bug