add testCode 
fix : windowsize