fix for capitalized extensions