corrected contracts migration