fixed parent_id for copy plugins to be working