Fixed typos that cuased compile error