Fixed dynamic adding problem with list