fixed small errors