Fixes errors in formatting