Fixed some miss spellings and checks