Fix typo
Remove redundant code