correct some errors in forms