string to int in display.selected