Corrects some minor issues