code typo fixes