corrected 24bit out for switches, not optimized yet