device fix and group order api