Fixed uninitialized value usage
Removed dead code
Localization: fixed typo