casting actor argument, trying to fix joint build