format and cleant