fixes add device token method