fixed bug where orders were not all displaying properly