Input reorganization
Input reorganization
temporary rescue for bad encoding