refine about window and fix a missed local word