possible fix for #245