Fix errors from copy and pasting