removed double alert statement