type ext to extension