remove needless property
fix default value of repeated enum