Disable warning on changing extension