fixed bug in undefined order_status