optionally convert types that are convertible