small bugfix for order