fix doxygen warnings
fix order of init