making alert form foolproofish