don't modify @base_path in the perser function