Support set raw, some exception improve