fix for #52