fixed small errors while reading through code