cancel bid by index, fix block generation