Fix two small errors