adjustments made for device url to work