make sure the extension is passed through