fix save of extensions