fix #689