Fix bug with local declaration that was creating an unset value and it should be a empty value