Solved issue #1 on github, using the patch sent by  Gregory Malecha