fix for #122