attempt to fix #289