fix a replace luanma bug