added condition to "token does not exists"