fix bad extensions