fix bug take orders