minor changes to orderdao