Fixing migrate images