fixed file watching