selection bugfix & paste stub added