added error handling to prevent xbmc crashes on virtual items