remove a couple of errors and update copyright