Display device id & fix a null pointer exception
server configuration