fixed typos
closes #29 and closes #30