fixed cut n paste bug