correct log order