cleaning up xbmc errors