adding support for post input sanitization