fixed: $ problem when replace