fix copy size
handle selection sets