pullrequest now runs correctly with no view opened