raise error if variable not exists