fix compile error: string change, raw accessor change