Fixed variable 'm' to help improve compatibility.