fix for #50