fixed bug in order process