Fixed losin selection in table