window constant warning