corrects some formatting