fix to removing alert