enhance pathselect for element