fix onResize double fire

no alert