fixed passing of batch param in actor function