button builder bug fix