copy/paste bug fix