fix builder bug