Fixed a memory bug

A memory bad access error occurs if there are arguments to be passed
into the invoker

Adding an array for holding references fixes it
Nothing changed

Just a stupid mistake :o)