fix example mergeRequests function