fix for #181