type definition for toggleSig is incorrect

toggleSig requires a bool when used