fix for #49