Fixing chunking division in erlang chain.