fixed bug that prevented order error message to be displayed