fix initial as replace, not append