update BSig
fix bug runtime