typo fixes

a little intuition used in some changes so please double check