errors when do migrate