add NULL check
Merge branch 'master' of github.com:baiche/Tauto