Replacing unnecessary instructions and fixing typo.