fix bug: get error when has multiple actions for one resource.