remove clang warning 'private field 'xxx' is not used

This will also fix firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=776085