added fix to the select by index without id