small changes and a few debugging things for trying to figure out projection issue.