fixed AttributeError: 'ProtectedOption' object has no attribute 'message'