fix doc build errors