window || root bug fixed