Correct errors in selectTag()