fix sortedecc and others init in sort_headptr function, add verbose in p...