trying to fix problem with task dynamic adding