Fixed small issue with uninitialized memory in doc script.