fixed 2 small errors