fix form bug