Fixed bugs in order notification.