modify conf & sign code