remove typo
remove obsolete code