changed global debug to true change back when migrations correctly run