event always firing, added valid attribute