remove superfluous formatting code