removing the useless alert messages