fixes code indent and pre type