changed window size and timout