Fix in build function.