Fix with-profile ordering