fixed bugs, mostly replacement typos, more to go