fix order logging