Should fix #6. Thanks to @nunodonato for reporting this