fix code indent and style