added workaround for broken upgrade from open to enterprise