Correct some errors in copy/paste