fix color code modes
fix pixelsOut error