fixed up some small issues