fix puppet shadowsocks bugs