fixed window again.. hopefully last time!!