Fixed issue with default extension