make magic mismatch a warning