make copy work when new file created