Fix typo and deleted non used