fix issue #5 on github