fix bug when cloning _finals attribute