fix two small errors