param: re-order code to avoid unreachable code warnings in 10bit builds