minor fix for ordering