fixes mform setType() warnings