bug fixing when process era version=0