next day update

some stupid duplicate elimination for select command