Removed unnecessary code
Fixed typo