fixed error in doc creator