fix doxygen and 'unused' warnings