fixed some minor issues