handling invalid device  token.