fixed two small errors