fixed build tool bug