fixed a couple minor issues