fix basic formatting errors