Added crash on setting of undefined variable