form bug fix