modify window properties