prevent infinite loop
Merge pull request #12 from tvbeat/wrap_labels

prevent infinite loop