changes for window tag