! fix bug about string replace