fixed template and styles watch bug