adjusted prepare row on image migrate