fix day attribute in contract (ontology).