Fix typo
Remove doubled lines
Fix build error