fix for #199

linking #199