Fixing device token error message