[feature] adjust some coding structure