bugfix regarding cut'n'paste