fix bug for docs#new