attempt to fix #266