fixed a crash reported by TV