fixed error in m21p dynamics