fixed the bug that can't show the order id

Be careful about the life cycle of controller.