delete alerts and others fixes