bug fixed in copy paste