fix migrate dummy function