remove some auto generate code