diff --git a/plivo/xml/getInputElement.py b/plivo/xml/getInputElement.py
index <HASH>..<HASH> 100644
--- a/plivo/xml/getInputElement.py
+++ b/plivo/xml/getInputElement.py
@@ -253,10 +253,10 @@ class GetInputElement(PlivoXMLElement):
 
     @profanity_filter.setter
     def profanity_filter(self, value):
-        self.__profanity_filter = six.text_type(value) if value is not None else None
+        self.__profanity_filter = bool(value) if value is not None else None
 
     @validate_args(
-        value=[of_type(six.text_type)],
+        value=[of_type_exact(bool)],
     )
     def set_profanity_filter(self, value):
         self.profanity_filter = value
chnage profanityFilter to bool