fix remaining warnings or document them