fixed missing device_location model