docGen bugfix