Fixing watchfile