fix bug in slave invoke
ready to remove a bug in 12
ready to fix bug in primary failur
pass test of 12