fixed builder bug