fix to migrations