fix path usage in copy and rename operation