unused code typo fixed