bug fix to compile docs