Fix priority of cloud correctly