add autocomplete limit for peer and document