fix double build