fixed error if missing directory "docs"