fix order counter at orders