fix for #104

fixes #104 

cc @mwickesb @KartikTalwar