fixed up a few minor issues