close #191 newer choose primary action according url