tidying up small errors.