#9 fixed preselection based on url