fixed some minor issues.