Problem with cut/copy&paste in Agent