cleaning up minor errors

more in the interest of tidying up.