remove unnecessary construct for textbox selection