improved handling of unset variables

Ignorning the errors using `@` is still thrown to custom handlers