improved compatibility with readium