some debuggin changes, mainly typos