window size fix