fix script error for XBMC Helix