fixing up passing of actor object to snippets