remove alert on resize