fixed typo when defining class