backward compatible
Merge pull request #10 from mission-liao/fix

backward compatible