fix issue with the 'build' cookie not being set