fixes to migrate doc