bug fixes: remove empty fields, disable view details if ID is invalid, add label to distinguish types