Fixes #47

Signed-off-by: angathorion <tanghuansong@gmail.com>
Merge pull request #48 from angathorion/master

Fixes #47