fixed some errors and warnings for documentation build
one more little info inside code