fixed unnecessasry alerting