solve problem with class=''selected''