addbiform, addprecond shared ptr
fix (for sp)