fix a bug that not include replace in doc