remove alerts uses as debugging statements.