fixed typos and minor stuff