fixed typos / bugs