After epic debugging (and a python segfault), I finally fix #14.