solve endless loop
Merge pull request #1 from tvboxme/fix/endless-loop

solve endless loop