small changes to order controller