fixed binary compatibility with schema version 4