My form gets a frozen white screen after submitted