fix creating of docs