Fixed bug in epg fetching