'fixed the data.table function-select problem'