fixed resize method to handle the wInfo