format fixing