form does not notify correctly