fix #5 and set window size to 7