Fix missing arg in select code