sm anti stutter fix (hopefully XD)