addExtension fix