Fix bug with disappearing extensions