decode before split