Error checking

- upper case the deviceId
- remove superfelous photo and name