form error seems not to work