changed migation to debug error