refactor meta model