fixed beta-3.1.1 config build code