Fix #23

Signed-off-by: Luca Bernardi <luka.bernardi@gmail.com>