Fixes the order of compose.