Better input sanatization for security