Fix serialize migration