typos and tweaking

wanted to fix a typo, lead to some tweaking.