diff --git a/gluon/html.py b/gluon/html.py
index f5383109..73eae9b8 100644
--- a/gluon/html.py
+++ b/gluon/html.py
@@ -2431,7 +2431,7 @@ class BEAUTIFY(DIV):
if level == 0:
return
for c in self.components:
- if hasattr(c, 'value') and not callable(c.value):
+ if hasattr(c, 'value') and not callable(c.value) and not isinstance(c, cgi.FieldStorage):
if c.value:
components.append(c.value)
if hasattr(c, 'xml') and callable(c.xml):