corrects some formatthing