tweak to order logging