fixed small errors due previous commit