fix doxygen comments
fix some missing doxygen exmaple lines and add check