fixed rex_path