make model compatible with editor