small tweaks in moving from sessions to orders