enhance heritence relation between models
fix chinese encoding problem