fixed copy plugins of sub plugins