fix watchfile