fix format script