fix defmethod