copying of widgets fixed