fixed typos that were causing errors