fix scan_model:replace_text