added helper to select active url