correct a bug with form