fix error when resize and open