minor fixes

Why is the alert inside the form?