Fixed problem accessing non-existing variable