fix buildConfig