removing trailing --------- from gh search