[CLE] optimize imports and format code