fix bug: the $TO_$FILE rewritten as $TO_FILE.