make sure there's no dups in the invokes