fix format of contracts