fix error
Merge pull request #25 from dongxiong/master

Fix PHP Warning