fixed the view for orders