Revert "ENYO-3732: add condition to check if add variable is undefined"

This reverts commit 5eef8173e385f06bdfe87254012d7f4c9517955d.