acutally fixed doSM