improved parameter completion trigger