(ActorMerger) Some fixes in variable declaration