Fixed two small errors