fixing up the autodocing