clean up add contract