fixes new order method