fixing warnings in docs