validate window argument