fixing doc build bugs