Added sanitize input feature.