fixing alaram issue